<!DOCTYPE html>
<html lang="zh">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>基于Bootstrap的简洁登录界面设计效果|DEMO_jQuery之家-自由分享jQuery、html5、css3的插件库</title>
  <script type="text/javascript" src="__STATIC__/static/jquery-2.0.3.min.js"></script>
  <link rel="stylesheet" href="__STATIC__/home/css/font-awesome.min.css">
  <link rel="stylesheet" href="__STATIC__/static/bootstrap/css/bootstrap.min.css">
  <link rel="stylesheet" type="text/css" href="__STATIC__/home/user/css/style.css">
  <!--[if lt IE 9]>
  <script type="text/javascript" src="__STATIC__/static/jquery-1.10.2.min.js"></script>
  <![endif]-->
  <!--[if gte IE 9]><!-->
  <script type="text/javascript" src="__STATIC__/static/jquery-2.0.3.min.js"></script>
  <script>
      //验证cookie是否开启
      $(document).ready(function(){
          if(!navigator.cookieEnabled){
              window.location.href="/public/index.php/home/user/cookieerror.html";
          }

      });
  </script>
</head>
<body>
<div class="htmleaf-container">
  <header class="htmleaf-header">
    <h1>欢迎访问履育才家教网！<span>Bootstrap Form Style</span></h1>
    <div class="htmleaf-links">
      <a class="htmleaf-icon icon-htmleaf-home-outline" href="/public/home" title="返回首页" target="_blank"><span> jQuery之家</span></a>
      <a class="htmleaf-icon icon-htmleaf-arrow-forward-outline" href="http://www.htmleaf.com/css3/ui-design/201610114094.html" title="返回上一页" target="_blank"><span> 返回下载页</span></a>
    </div>
  </header>
  <div class="demo form-bg" style="padding: 20px 0;">
    <div class="container">
      <div class="row">
        <div class="col-md-offset-3 col-md-6">
          <form class="form-horizontal" action="{:url('user/login')}" method="post">

            <span class="heading">用户登录</span>
            <div class="form-group">
              <input type="" class="form-control" id="inputEmail3" placeholder="用户名或电子邮件" name="username" value="{$username}">
              <i class="fa fa-user"></i>
            </div>

            <div class="form-group help">
              <input type="password" class="form-control" id="inputPassword3" placeholder="密　码" name="password">
              <i class="fa fa-lock"></i>
              <a href="#" class="fa fa-question-circle"></a>
            </div>

            <div class="form-group">
              <div class="main-checkbox">
                <input type="checkbox" value="true" id="checkbox1" name="remeberUser" checked="checked"/>
                <label for="checkbox1"></label>
              </div>
              <span class="text">Remember me</span>
              <button type="submit" class="btn btn-default">登录</button>
            </div>
          </form>
        </div>
      </div>
    </div>
  </div>
</div>

</body>
</html>